<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">
<ui:composition>
    <!-- 
    <p:menu model="#{applicationBean.menuModel}" style="width:198px" />
     -->
     
    <p:menu style="width:198px">
    	<p:submenu label="Purchases">
            <p:menuitem id="listPurchases" value="View All Purchases" action="#{purchasesBean.findAllPurchases}" ajax="false" async="false" update="data" />
            <p:menuitem id="releaseProduct" value="Release Products" action="#{productReleaseBean.openProductRelease}" ajax="false" async="false" update="data" />
        </p:submenu>
    	<p:submenu label="Expenses">
            <p:menuitem id="listExpenses" value="View All Expenses" action="#{expenseBean.findAllExpenses}" ajax="false" async="false" update="data" />
           
        </p:submenu>
        <p:submenu label="Product">
            <p:menuitem value="Product Category" action="#{productCatBean.findAllProductCatagory}" ajax="false" async="false" update="data" />
            <p:menuitem value="Product Type" action="#{productTypeBean.findAllProductTypes}" ajax="false" async="false" update="data" />
            <p:menuitem value="Product" action="#{productBean.findAllProduct}" ajax="false" async="false" update="data" />
        </p:submenu>
        <p:submenu label="Stock">
            <p:menuitem value="Current Stock" icon="ui-icon-home"/>
            <p:menuitem value="TouchFaces" icon="ui-icon-star"/>
        </p:submenu>
        <p:submenu label="Stock">
            <p:menuitem value="Home" url="http://www.primefaces.org" icon="ui-icon-home"/>
            <p:menuitem value="TouchFaces" url="#{request.contextPath}/touch" icon="ui-icon-star"/>
        </p:submenu>
    </p:menu>
     
</ui:composition>
</html>